<?php
namespace App\Tools;

class Fun {
    static function encodePassword($password) {
        return sha1($password . env('APP_KEY'));
    }

    static function is_windows() {
        return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';
    }
}